/*************************************************************************
 Copyright (C) Unpublished Unis Software, Inc. All rights reserved.
 Unis Software, Inc., Confidential and Proprietary.

 This software is subject to copyright protection
 under the laws of the Public of China and other countries.

 Unless otherwise explicitly stated, this software is provided
 by Unis "AS IS".
 *************************************************************************/
package com.unis.service.attence;

import java.util.List;

import com.unis.model.BaseModel;
import com.unis.model.attence.DutySystem;

/**
 * @author Administrator (email:raulcsj@163.com)
 * @since 2013-01-31
 */
public interface DutySystemService {

    /****************************************
     * Insert a instace of DutySystem
     ****************************************/
    void insert(DutySystem dutysystem) throws Exception;

    /****************************************
     * Insert instaces of DutySystem
     ****************************************/
    void batchInsert(DutySystem dutysystem) throws Exception;

    /****************************************
     * Delete a instace of DutySystem
     ****************************************/
    void delete(DutySystem dutysystem) throws Exception;

    /****************************************
     * Delete instaces of DutySystem
     ****************************************/
    void batchDelete(DutySystem dutysystem) throws Exception;

    /****************************************
     * Update a instace of DutySystem
     ****************************************/
    void update(DutySystem dutysystem) throws Exception;

    /****************************************
     * Query instaces of DutySystem
     ****************************************/
    List<BaseModel> queryAsList(DutySystem dutysystem) throws Exception;

    /****************************************
     * Query a instaces of DutySystem
     ****************************************/
    BaseModel queryAsObject(DutySystem dutysystem) throws Exception;
}
